module.exports = {
    ignores: [(commit) => commit.includes('init')],
    extends: ['@commitlint/config-conventional'],
    rules: {
        'type-enum':[2,'always',['feat','fix','docs','style','refactor','perf','test','chore','revert','build']],
        'type-case':[0],
        'type-empty':[0],
        'scope-empty':[0],
        'scope-case':[0],
        'body-leading-blank': [2, 'always'],
        'footer-leading-blank': [1, 'always'],
        'header-max-length': [2, 'always', 108],
        'subject-case': [0],
        'subject-full-stop': [0,'never'],
    },
}